 /*
 * Copyright 2009-2010 by glorial.,
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of glorial. ("Confidential Information").
 */
package com.igs.dao.interfaces;

import java.io.Serializable;
import java.util.Hashtable;

/**
 * @FileName	: ICompanyDAO.java
 * @Project		: IGS
 * @Date		: 2009. 07. 06
 * @Author		: glorial
 * @Desc		:
 * @history     :
 */
public interface IConnectionManager extends Serializable {
	
    Object getConnection() throws Exception;

	void setDataSource(String s);
	
	Object getConnection(String s) throws Exception;
	
	Object getConnection(Hashtable hashtable) throws Exception;
	
	void begin();
	
	void end();
	
	void setRollback();
	
	void close();
	
	boolean isTrx();
	
}
